﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperRyoninRPG.Display;

namespace SuperRyoninRPG.Characters
{

	public class Animations
		: Dictionary<Tuple<string, string>, Animation>
	{
		public Animation this[string state, string action]
		{
			get { return this[Tuple.Create(state, action)]; }
			set { this[Tuple.Create(state, action)] = value; }
		}

		public void Add(string state,string action,Animation animation)
		{
			base.Add(new Tuple<string, string>(state, action), animation);
		}
	}
}
